package com.ywk.pattern._17_adapter;

public class Forwards extends Player {
    public Forwards(String name) {
        super(name);
    }

    @Override
    public void Attack() {
        System.out.println("前锋进攻"+super.name);
    }

    @Override
    public void Defense() {
        System.out.println("前锋防守"+super.name);
    }
}
